package com.healthcloud.service;

import com.healthcloud.entity.RestCompanyEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2018-05-30 10:59:37
 */
public interface RestCompanyService {
	
	RestCompanyEntity queryObject(Integer id);
	
    List<RestCompanyEntity> queryList(RestCompanyEntity bean, PageParam pageParam);
	
	int queryTotal(RestCompanyEntity bean);
	
	void save(RestCompanyEntity restCompany);
	
	void update(RestCompanyEntity restCompany);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	RestCompanyEntity queryByName(String companyname);
}
